package com.traffic.service;

import java.util.List;
import com.traffic.domain.PerEmergencyDispatchApplication;

/**
 * 出警申请Service接口
 * 
 * @author 郭世纪
 * @date 2024-12-08
 */
public interface IPerEmergencyDispatchApplicationService 
{
    /**
     * 查询出警申请
     * 
     * @param overtimeId 出警申请主键
     * @return 出警申请
     */
    public PerEmergencyDispatchApplication selectPerEmergencyDispatchApplicationByOvertimeId(Long overtimeId);

    /**
     * 查询出警申请列表
     * 
     * @param perEmergencyDispatchApplication 出警申请
     * @return 出警申请集合
     */
    public List<PerEmergencyDispatchApplication> selectPerEmergencyDispatchApplicationList(PerEmergencyDispatchApplication perEmergencyDispatchApplication);

    /**
     * 新增出警申请
     * 
     * @param perEmergencyDispatchApplication 出警申请
     * @return 结果
     */
    public int insertPerEmergencyDispatchApplication(PerEmergencyDispatchApplication perEmergencyDispatchApplication);

    /**
     * 修改出警申请
     * 
     * @param perEmergencyDispatchApplication 出警申请
     * @return 结果
     */
    public int updatePerEmergencyDispatchApplication(PerEmergencyDispatchApplication perEmergencyDispatchApplication);

    /**
     * 批量删除出警申请
     * 
     * @param overtimeIds 需要删除的出警申请主键集合
     * @return 结果
     */
    public int deletePerEmergencyDispatchApplicationByOvertimeIds(Long[] overtimeIds);

    /**
     * 删除出警申请信息
     * 
     * @param overtimeId 出警申请主键
     * @return 结果
     */
    public int deletePerEmergencyDispatchApplicationByOvertimeId(Long overtimeId);
}
